home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 7675 / 7675.xpi / chrome / wikilook / content / wikilook.xul < prev   
Extensible Markup Language  |  2009-11-01  |  2KB  |  57 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://wikilook/content/wikilook.css" type="text/css"?>
  5.  
  6. <overlay id="wikilook" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.     <style type="text/css" src="chrome://wikilook/content/wikilook.css"> </style>
  8.     <script type="application/x-javascript"
  9.             src="chrome://wikilook/content/wikilook.js" />
  10.     <script type="application/x-javascript"
  11.             src="chrome://wikilook/content/en.wiktionary.js" />
  12.     <script type="application/x-javascript"><![CDATA[
  13.         var WikiLook_Overlay = new WikiLook();
  14.         addEventListener("load",
  15.                     WikiLook_Overlay.eventLoad,
  16.                     true);
  17.         addEventListener("unload",
  18.                     WikiLook_Overlay.eventUnload,
  19.                     true);
  20.         addEventListener("focus",
  21.                     WikiLook_Overlay.eventFocus,
  22.                     true);
  23.         addEventListener("blur",
  24.                     WikiLook_Overlay.eventBlur,
  25.                     true);
  26.         addEventListener("click",
  27.                     WikiLook_Overlay.eventClick,
  28.                     true);
  29.         addEventListener("mousemove",
  30.                     WikiLook_Overlay.eventMouseMove,
  31.                     true);
  32.         addEventListener("scroll",
  33.                     WikiLook_Overlay.eventScroll,
  34.                     true);
  35.         addEventListener("mousedown",
  36.                     WikiLook_Overlay.eventMouseDown,
  37.                     true);    
  38.         addEventListener("contextmenu",
  39.                     WikiLook_Overlay.eventRightClick,
  40.                     true);    
  41.         addEventListener("mouseover",
  42.                     mouseOverWikiLink3,
  43.                     false);    
  44.         addEventListener("mouseout",
  45.                     mouseOutWikiLink3,
  46.                     false);    
  47.             
  48.       ]]></script>
  49.  
  50.   <statusbar id="status-bar">
  51.     <statusbarpanel id="WikiLook-status"  onclick="WikiLook_Overlay.eventClickStatus(event);">
  52.          <image tooltiptext="WikiLook is on.\nLeft-click to toggle.\nRight-click to open Options." id="WikiLook_StatusImage" width="15" height="15" src="chrome://wikilook/skin/wiki_on.gif"/>
  53.     </statusbarpanel>
  54.   </statusbar>
  55.  
  56. </overlay>
  57.